package com.yunxin.admin.system.infra.persistence.entity.query.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.yunxin.core.domain.model.team.Team;

import java.util.Date;
import java.util.List;

/**
 * 用户持久化对象
 *
 * @author zero°
 * @since 2023-00-01
 */
@Data
public class UserMerchantInfoResult {

    /**
     * 用户ID
     */
    private Long id;

    /**
     * 账户名
     */
    private String username;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 性别(1->男；2->女)
     */
    private Integer gender;

    @Schema(description = "性别")
    private String genderLabel;

    /**
     * 头像URL
     */
    private String avatar;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 状态: 1->启用;0->禁用
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;

    /**
     * 接单状态是否启用 0.禁用 1.启用
     */
    private Integer receivingStatusOpen;
    /**
     * 接单状态 0.关闭 1.开启
     */
    private Integer receivingStatus;
    /**
     * 角色
     */
    private List<String> roleNames;

    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建人
     */
    private String creator;
    //团队名字 用;分割
    private StringBuilder userTeamNames;

    private List<Team> userTeamShips;

    private String WeightName;

    private String WeightNum;

    private Integer WeightId;

    private Integer isWhechat;

    //微信手机号
    private String whechatMobile;
}
